Skip to content

Preserve type-import dependencies with the native compiler preprocessor - #32

Merged
AppSolves merged 1 commit into
mainfrom
fix/preserve-import-type-context
Nov 15, 2026
Merged

AppSolves merged 1 commit into
mainfrom
fix/preserve-import-type-context

Conversation

@AppSolves

Copy link
Copy Markdown
Owner

Preserve actual TypeScript import("./module").Type dependencies in the not-yet-rolled-out context parser fix. The initial hand traversal covered runtime imports but omitted import-type nodes. Use the existing pinned compiler’s native preProcessFile(...).importedFiles instead: less code, generated strings/comments still ignored, literal runtime and type imports all retained.

Add the type-query case to the actual collector’s missing-dependency regression table. No dependency, resolver execution, budget, sandbox, credential or completeness-policy change. The parser correction has not yet been enabled in production runner pins.

Validation: full Node 24 check (197 tests). Full GitHub CI required before normal merge. Coordinate the final actual merged source SHA and supersede the currently held parser pin proposals only after this fix passes CI. Existing live production pin remains unchanged while the disposable admission budget is time-gated.

@AppSolves
AppSolves merged commit f008673 into main Nov 15, 2026
4 checks passed
@AppSolves
AppSolves deleted the fix/preserve-import-type-context branch November 15, 2026 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant